package com.jzlw.huozhuduan.network.httpservice;

import java.util.Date;

public class EncodeJsonBean<T> {
    private String sign;
    private long timeStamp;
    private T context;

    public EncodeJsonBean(T context)
    {
        this.context=context;
    }
    public EncodeJsonBean(String sign, T context) {
        this.sign = sign;
        this.timeStamp = new Date().getTime();
        this.context = context;
    }

    public T getContext() {
        return context;
    }

    public long getTimeStamp() {
        return timeStamp;
    }

    public void setTimeStamp(long timeStamp) {
        this.timeStamp = timeStamp;
    }

    public void setContext(T context) {
        this.context = context;
    }


    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

}
